<template>
  <div class="about">
  <h1>name{{name}}</h1>

  
  </div>
</template>

<script lang="ts">
 import {defineComponent} from "vue"
export default defineComponent({
  name :"About",
 
});


</script>
<script lang="ts" setup>
import {ref, computed}from 'vue';
let firstName = ref("李");
let lastName = ref("四");


let name = computed(()=>{
   return firstName.value + lastName.value;
})
</script>